home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -in_the_mag- / workbench / adf / adflib / adflib.lha / Lib / adf_util.h < prev    next >
C/C++ Source or Header  |  1999-02-09  |  718b  |  32 lines

  1. #ifndef _ADF_UTIL_H
  2. #define _ADF_UTIL_H 1
  3.  
  4. /*
  5.  *  ADF Library. (C) 1997-1998 Laurent Clevy
  6.  *
  7.  *  adf_util.h
  8.  *
  9.  */
  10.  
  11. #include"prefix.h"
  12.  
  13. #include "adf_str.h"
  14.  
  15. void swLong(unsigned char* buf, unsigned long val);
  16. void swShort(unsigned char* buf, unsigned short val);
  17.  
  18. struct List* newCell(struct List* list, void* content);
  19. PREFIX void freeList(struct List* list);
  20. void adfDays2Date(long days, int *yy, int *mm, int *dd);
  21. BOOL adfIsLeap(int y);
  22.     void
  23. adfTime2AmigaTime(struct DateTime dt, long *day, long *min, long *ticks );
  24.     struct DateTime
  25. adfGiveCurrentTime( void );
  26.  
  27. void dumpBlock(unsigned char *buf);
  28.  
  29. #endif /* _ADF_UTIL_H */
  30.  
  31. /*##########################################################################*/
  32.